package com.designPattern.p04AbstractFactory.instance;

/**
 *  OracleFactory类，实现IFactory接口，实例化OracleUser和OralceType。
 * @author: luhd
 * @create: 2021-09-05
 */
public class KOracleFactory implements IIFactory{
    @Override
    public CIUser createUser() {
        return new FOracleUser();
    }

    @Override
    public DIType createType() {
        return new HOracleType();
    }
}
